﻿namespace Common
{
    public static class IO_CARD_EX
    {
        public static void Pulse(this I_IO_Card io,int bit,int DelayTime)
        {
            System.Threading.Thread trd = new System.Threading.Thread(() =>
            {
                io.WriteBit(bit, true);
                System.Threading.Thread.Sleep(DelayTime);
                io.WriteBit(bit, false);
            });
            trd.Start();
        }
    }
}
